package com.tencent.wxcloudrun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName goods
 */
@TableName(value ="goods")
@Data
public class Goods implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer goodsId;

    /**
     * 
     */
    private Integer goodsCateId;

    /**
     * 
     */
    private String goodsName;

    /**
     * 商品描述
     */
    private String goodsDesc;

    /**
     * 格式：[{small_img:"xxx", big_img: "xxx", ......}] 第一张图片永远是主图
     */
    private Object goodsImages;

    /**
     * 
     */
    private Integer goodsPrice;

    /**
     * 打折后的价格
     */
    private Integer goodsDiscountPrice;

    /**
     * 特价
     */
    private Integer goodsSpecialPrice;

    /**
     * 
     */
    private Integer goodsSort;

    /**
     * 1：展示；-1：不展示；
     */
    private Integer goodsStatus;

    /**
     * 0：正常；1：删除；
     */
    private Integer isDeleted;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}